import { Http } from '@/utils/http'

/**
 * 查询诗歌
 * @param data 
 * @returns 
 */
export function searchPoetry (data: any)  {
    return Http.request({
        url: '/out/poetry/searchPoetryByNameOrVerseDynastyOrAuthor',
        method: 'POST',
        data: data,
        shade: false
    })
}

/**
 * 查询作者
 * @param data 
 * @returns 
 */
export function searchAuthor (data: any)  {
    return Http.request({
        url: '/out/author/searchAuthorByDynastyOrName',
        method: 'POST',
        data: data,
        shade: false
    })
}
